package de.fhaugsburg.games.boardgames.scrabble.testing;

import de.fhaugsburg.games.boardgames.Board;
import de.fhaugsburg.games.boardgames.scrabble.LetterPiece;
import de.fhaugsburg.games.boardgames.scrabble.ScrabbleBoard;
import de.fhaugsburg.games.boardgames.scrabble.managment.GridPoint;
import junit.framework.TestCase;

public class ScrabbleBoardTest extends TestCase {
	Board board1;
	Board board2;

	protected void setUp() throws Exception {		
		super.setUp();
		board1 = new ScrabbleBoard();
		board2 = new ScrabbleBoard();
		board1.putPiece(LetterPiece.A, new GridPoint(8,8));
		board2.putPiece(LetterPiece.A, new GridPoint(8,8));
		
	}

	public void testEqualsBoard() {
		assertTrue(board1.equals(board2));
	}

}
